package com.mydemo.game.hireStage;

import com.mydemo.entity.Car;
import com.mydemo.entity.Save;
import com.mydemo.utils.dataUtils.DataUtil;

import java.util.ArrayList;
import java.util.List;

public class CarMarket {
    public static final Save carMarket(Save save){
        DataUtil<Car,?> carDataUtil = new DataUtil<>(Car.class,"Car");
        List<Car> carList = carDataUtil.select().selectAll();
        boolean flag = true;
        while(flag){
            System.out.println("可供选择的车辆");
        }
        return save;
    }
}
